<?
session_start();
if(!isset($_SESSION['nombreUsuario']))
	exit();

?>

<form id="detalleCobroItemPopForm" name="detalleCobroItemPopForm" method="post">
	<div class="input-group">
		<span class="input-group-addon">Tipo de Cobro</span>
 		<select id="cmbTipo" name="cmbTipo" class="form-control">
			<option value="">...</option>
			<option value="E">Efectivo</option>
			<option value="C">Cheque</option>
			<option value="T">Transferencia</option>
		</select>
	</div>
	<div id="efectivo" style="display: none;">
		<div class="input-group">
	  		<span class="input-group-addon">Importe</span>
	  		<input id="importeEfectivo" name="importeEfectivo" type="text" class="form-control numeric">
	  		<span class="input-group-addon">$</span>
		</div>
	</div>
	<div id="cheque" style="display: none;">
		<div class="input-group">
	  		<span class="input-group-addon">Fecha de Emisi&oacute;n</span>
	  		<input id="fechaEmisionCheque" name="fechaEmisionCheque" type="text" class="form-control fecha">
		</div>
		<div class="input-group">
	  		<span class="input-group-addon">Fecha de Vto.</span>
	  		<input id="fechaVtoCheque" name="fechaVtoCheque" type="text" class="form-control fecha">
		</div>
		<div class="input-group">
	  		<span class="input-group-addon">Importe</span>
	  		<input id="importeCheque" name="importeCheque" type="text" class="form-control numeric">
	  		<span class="input-group-addon">$</span>
		</div>
		<div class="input-group">
	  		<span class="input-group-addon">Banco</span>
	  		<input id="bancoCheque" name="bancoCheque" type="text" class="form-control">
		</div>
		<div class="input-group">
	  		<span class="input-group-addon">Sucursal</span>
	  		<input id="sucursalCheque" name="sucursalCheque" type="text" class="form-control">
		</div>
		<div class="input-group">
	  		<span class="input-group-addon">Nro. Cheque</span>
	  		<input id="nroCheque" name="nroCheque" type="text" class="form-control numeric">
		</div>
		<div class="input-group">
	  		<span class="input-group-addon">CUIT Firmante</span>
	  		<input id="cuitFirmanteCheque" name="cuitFirmanteCheque" type="text" class="form-control cuit">
		</div>
		<div class="input-group">
	  		<span class="input-group-addon">Firmante</span>
	  		<input id="firmanteCheque" name="firmanteCheque" type="text" class="form-control">
		</div>
	</div>
	<div id="transferencia" style="display: none;">
		<div class="input-group">
	  		<span class="input-group-addon">Banco</span>
	  		<input id="bancoTransferencia" name="bancoTransferencia" type="text" class="form-control">
		</div>
		<div class="input-group">
	  		<span class="input-group-addon">Fecha</span>
	  		<input id="fechaTransferencia" name="fechaTransferencia" type="text" class="form-control fecha">
		</div>
		<div class="input-group">
	  		<span class="input-group-addon">Importe</span>
	  		<input id="importeTransferencia" name="importeTransferencia" type="text" class="form-control numeric">
	  		<span class="input-group-addon">$</span>
		</div>
	</div>
	
	<div class="btn-toolbar" style="padding-top: 10px; float: right;">
	  	<button type="button" class="btn btn-primary" name="btnGuardarItemCobro" id="btnGuardarItemCobro">Guardar</button>
	  	<button type="button" class="btn btn-primary" name="btnCerrarItemCobro" id="btnCerrarItemCobro">Cerrar</button>
	</div>	
</form>

<script>
	$(document).ready(function() {
		$_initItemCobroPop();
	});
</script>
